package team.knowers.agency.service;

import com.baomidou.mybatisplus.extension.service.IService;
import team.knowers.agency.dao.entity.TravelDO;
import team.knowers.agency.dto.req.TravelLoginReqDTO;
import team.knowers.agency.dto.req.TravelRegisterReqDTO;

public interface TravelService extends IService<TravelDO> {
    /**
     * 旅行社注册账号
     * @param req
     */
    void register(TravelRegisterReqDTO req);
    /**
     * 旅行社登录账号
     */
    TravelDO login(TravelLoginReqDTO req);
}
